/**
 * Copyright 肇新智慧物业管理系统
 *
 * Licensed under AGPL开源协议
 *
 * gitee：https://gitee.com/fanhuibin1/zhaoxinpms
 * website：http://pms.zhwy.com  wx： zhwy
 *
 */
package com.lanou.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;


import java.util.Date;

@Data
public class PaymentBillEntity {
    /** 主键 */
    private String id;

    /** 账单分类 */
    private String type;

    /** 资源名 */
    private String resourceName;

    /** 资源id */
    private String resourceId;

    /** 合同 */
    private String contractId;
    
    /** 订单 */
    private String orderId;

    /** 收费项id */
    private String feeItemId;

    /** 收费项名 */
    private String feeItemName;

    /** 客户 */
    private String feeUser;

    /** 账单对应的周期 */

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date beginDate;
    /** 账单对应的周期 */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endDate;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    /** 缴费截止时间 */
    private Date deadline;

    /** 起数 */
    private String lastIndex;

    /** 止数 */
    private String currentIndex;

    /** 倍率 */
    private String multiple;

    /** 损耗 */
    private String loss;

    /** 数量 */
    private String num;

    /** 单价 */
    private String price;

    /** 总价 */
    private String total;

    /** 滞纳金 */
    private String lateFee;

    /** 折扣 */
    private String discount;

    /** 应收 */
    private String receivable;

    /** 流水号 */
    private String payLogNo;

    /** 流水表id */
    private String payLogId;
    /**  */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date payTime;

    private String payState;
    
    private Integer refundState;

    private Integer refundTimes;
    
    private String refundAmount;
    
    /** 创建用户 */
    private String creatorUserId;


    /** 创建时间 */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date creatorTime;

    /** 修改用户 */
    private String lastModifyUserId;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    /** 修改时间 */
    private Date lastModifyTime;

    /** 删除用户 */
    private String deleteUserId;


    /** 删除时间 */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date deleteTime;

    /** 有效标志 */
    private Integer enabledMark;

}
